// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsTrendGetMachineSarRequest.h"

namespace aliyun { namespace Ons {

OnsTrendGetMachineSarRequest::OnsTrendGetMachineSarRequest() : RpcAcsRequest("Ons", "2015-10-20", "OnsTrendGetMachineSar") {
}

const string& OnsTrendGetMachineSarRequest::GetOnsRegionId(void) const {
  return OnsRegionId_;
}
void OnsTrendGetMachineSarRequest::SetOnsRegionId(const string& OnsRegionId) {
  OnsRegionId_ = OnsRegionId;
  PutQueryParameter("OnsRegionId", OnsRegionId_);
}

const string& OnsTrendGetMachineSarRequest::GetOnsPlatform(void) const {
  return OnsPlatform_;
}
void OnsTrendGetMachineSarRequest::SetOnsPlatform(const string& OnsPlatform) {
  OnsPlatform_ = OnsPlatform;
  PutQueryParameter("OnsPlatform", OnsPlatform_);
}

int64 OnsTrendGetMachineSarRequest::GetPreventCache(void) const {
  return PreventCache_;
}
void OnsTrendGetMachineSarRequest::SetPreventCache(int64 PreventCache) {
  PreventCache_ = PreventCache;
  PutQueryParameter("PreventCache", string_ValueOfInt64(PreventCache_));
}

const string& OnsTrendGetMachineSarRequest::GetHostIp(void) const {
  return HostIp_;
}
void OnsTrendGetMachineSarRequest::SetHostIp(const string& HostIp) {
  HostIp_ = HostIp;
  PutQueryParameter("HostIp", HostIp_);
}

const string& OnsTrendGetMachineSarRequest::GetAppId(void) const {
  return AppId_;
}
void OnsTrendGetMachineSarRequest::SetAppId(const string& AppId) {
  AppId_ = AppId;
  PutQueryParameter("AppId", AppId_);
}

const string& OnsTrendGetMachineSarRequest::GetMetric(void) const {
  return Metric_;
}
void OnsTrendGetMachineSarRequest::SetMetric(const string& Metric) {
  Metric_ = Metric;
  PutQueryParameter("Metric", Metric_);
}

int64 OnsTrendGetMachineSarRequest::GetBeginTime(void) const {
  return BeginTime_;
}
void OnsTrendGetMachineSarRequest::SetBeginTime(int64 BeginTime) {
  BeginTime_ = BeginTime;
  PutQueryParameter("BeginTime", string_ValueOfInt64(BeginTime_));
}

int64 OnsTrendGetMachineSarRequest::GetEndTime(void) const {
  return EndTime_;
}
void OnsTrendGetMachineSarRequest::SetEndTime(int64 EndTime) {
  EndTime_ = EndTime;
  PutQueryParameter("EndTime", string_ValueOfInt64(EndTime_));
}

int64 OnsTrendGetMachineSarRequest::GetPeriod(void) const {
  return Period_;
}
void OnsTrendGetMachineSarRequest::SetPeriod(int64 Period) {
  Period_ = Period;
  PutQueryParameter("Period", string_ValueOfInt64(Period_));
}


} } // namespace aliyun { namespace Ons {

// end of file 
